#ifndef CORE_H
#define CORE_H

class Renderer;
class DocumentContainer;

class Core
{
public:
    static Core& instance();

    bool init();
    boost::shared_ptr<Renderer> renderer() const;
    QPointer<DocumentContainer> documentContainer() const;
private:
    Core();
    boost::shared_ptr<Renderer> m_renderer;
    QPointer<DocumentContainer> m_documentContainer;
};

#endif // CORE_H
